# -----------------------------------------------------------------------------
# sources
# -----------------------------------------------------------------------------
target_sources(${PROJECT_NAME} 
    PRIVATE
        hdImagingShape.cpp
        pointBasedDeformerNode.cpp
        proxyAccessor.cpp
        proxyShapeBase.cpp
        proxyShapePlugin.cpp
        stageData.cpp
        stageNode.cpp
        usdPrimProvider.cpp
)

set(HEADERS
    hdImagingShape.h
    pointBasedDeformerNode.h
    proxyAccessor.h
    proxyShapeBase.h
    proxyShapePlugin.h
    proxyStageProvider.h
    stageData.h
    stageNode.h
    usdPrimProvider.h
)

# -----------------------------------------------------------------------------
# promoted headers
# -----------------------------------------------------------------------------
mayaUsd_promoteHeaderList(HEADERS ${HEADERS} SUBDIR nodes)

# -----------------------------------------------------------------------------
# install
# -----------------------------------------------------------------------------
install(FILES ${HEADERS}
     DESTINATION ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME}/nodes/
)

set(PYTHON_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/lib/python/${PROJECT_NAME}/lib)
install(FILES proxyAccessor.py DESTINATION ${PYTHON_INSTALL_PREFIX})
